/**
 * 
 * @param {*} blob 后端返回的文件流
 * @param {*} name 文件名称
 */
export const getExcelByBolb = (blob, name) => {
    let url = window.URL.createObjectURL(blob)
    console.log('url', url)
    var a = document.createElement('a')
    document.body.appendChild(a)
    a.href = url
    a.download = name
    a.click()
    window.URL.revokeObjectURL(url)
}